<%--
  Created by IntelliJ IDEA.
  User: 张国庆
  Date: 2019/9/12
  Time: 19:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户管理系统</title>
    <link rel="stylesheet" href="layui/css/layui.css" type="text/css"/>
    <script type="text/javascript" src="layui/layui.js"></script>
    <script type="text/javascript" src="js/jquery-1.12.4.js"></script>
    <script type="text/javascript">
        layui.use(["layer","table","form"],function () {
            var layer=layui.layer;
            var table=layui.table;
            var form=layui.form;
            table.render({
                elem:"#myTable",
                url:"user/showPageUser",
                page:true,
                cols:[[
                    {title:"编号",field:"uid"},
                    {title:"电话",field:"tel"},
                    {title:"密码",field:"password"},
                    {title:"图片",field:"image"},
                    {title:"法名",field:"nickName"},
                    {title:"姓名",field:"uname"},
                    {title:"性别",field:"sex"},
                    {title:"签名",field:"graph"},
                    {title:"省",field:"province"},
                    {title:"市",field:"city"},
                    {title:"状态",field:"userStatus"},
                    {title:"日期",field:"userDate"},
                ]]
            })
        })
    </script>
</head>
<body>
<table id="myTable"></table>
</body>
</html>
